Ubuntu 14.04
Sponsored Link

OpenStack Liberty : Pre-Requirements
2015/12/23
 
This is the exmaple of Cloud Computiong by OpenStack.
On this example, Install and configure Keystone, Glance, Nova, Horizon on a server as All-in-One. For other componets, refer to the precondition of the section.
Install some services which some components of OpenStack needs for system requirements on here.
[1]
[2]
Install KVM HyperVisor like here.
It's unnecessarry to set Bridge networking manually, though. ( OpenStack system sets Bridge networking )
[3]
[4] Add the repository of Openstack Liberty.
root@dlp:~#
apt-get -y install software-properties-common

root@dlp:~#
add-apt-repository cloud-archive:liberty

root@dlp:~#
apt-get update

root@dlp:~#
apt-get -y upgrade

[5] Install RabbitMQ and Memcached.
root@dlp:~#
apt-get -y install rabbitmq-server memcached python-pymysql
# add a user (set any password for "password" section

root@dlp:~#
rabbitmqctl add_user openstack password

Creating user "openstack" ...
root@dlp:~#
rabbitmqctl set_permissions openstack ".*" ".*" ".*"

Setting permissions for user "openstack" in vhost "/" ...
root@dlp:~#
/etc/init.d/rabbitmq-server restart

* Restarting message broker rabbitmq-server
root@dlp:~#
vi /etc/mysql/my.cnf
# line 47: change & add

bind-address =
0.0.0.0
character-set-server = utf8
root@dlp:~#
/etc/init.d/mysql restart

 * Stopping MariaDB database server mysqld   
 * Starting MariaDB database server mysqld   
 * Checking for corrupt, not cleanly closed and upgrade needing tables.

root@dlp:~#
vi /etc/memcached.conf
# line 35: change

-l
0.0.0.0
root@dlp:~#
/etc/init.d/memcached restart

Restarting memcached: memcached.
 
Tweet